package com.hotel.service;

import com.hotel.pojo.GuestRegistration;

import java.util.ArrayList;

public interface GuestRegistrationService {

    int addGuestRegistration(GuestRegistration GuestRegistration);

    int deleteGuestRegistrationById(int id);

    int updateGuestRegistrationById(GuestRegistration GuestRegistration);

    GuestRegistration queryGuestRegistrationById(int id);

    ArrayList<GuestRegistration> queryAllGuestRegistration();

    GuestRegistration queryGuestRegistrationByPhone(String phone);
}
